package com.superlight.designer.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.superlight.designer.entity.Plan;
import com.superlight.designer.entity.vo.PlanVO;
import com.superlight.designer.mapper.PlanMapper;
import com.superlight.designer.service.IPlanService;
import org.springframework.stereotype.Service;

/**
 * @Classname PlanServiceImpl
 * @Description TODO
 * @Date 2021/5/10 11:01
 * @Created by leishihua
 */
@Service
public class PlanServiceImpl extends ServiceImpl<PlanMapper,Plan> implements IPlanService {

    @Override
    public IPage<Plan> selectList(IPage<Plan> page,PlanVO planVO) {
        return page.setRecords(baseMapper.selectPlanList(page));
    }
}
